package cn.tedu.flower.manage.content.dao.persist.mapper;


import cn.tedu.flower.manage.content.pojo.entity.Address;
import cn.tedu.flower.manage.content.pojo.vo.AddressListItemVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 处理地址数据的Mapper
 */
@Repository
public interface AddressMapper extends BaseMapper<Address> {
    /**
     *
     * @param username
     * @return
     */
    AddressListItemVO getAddressByUsername(String username);
    /**
     *
     * @param
     * @return
     */
    List<AddressListItemVO> getAddressAll();


}
